//
//  LGTableVIew.m
//  ALS3.0
//
//  Created by guomianxiang on 17/3/15.
//  Copyright © 2017年 guomianxiang. All rights reserved.
//

#import "LGTableVIew.h"

@implementation LGTableVIew

// 实现键盘dismiss
- (void)awakeFromNib {
    [super awakeFromNib];
    self.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
}

//- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
//    
//    UIView *hitView = [super hitTest:point withEvent:event];
//
//    
//    NSLog(@"%@",hitView);
//    
////    if (![hitView isKindOfClass:[UIControl class]]) {
////        [self endEditing:YES];
////    }
//    
//    return hitView;
//}

//- (void)touchesEnded:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
//    [self endEditing:YES];
//}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
